@import '_variables.scss';
body{
  background-color: #eceef3;
}
.header{
  position: fixed;
  top:0;
  left:0;
  right: 0;
  height: 50px;
  z-index: 1000;
  background-color: #000;
  padding-left: 35px;
  color: #fff;
  h1{
    font-size: 24px;
    height: 50px;
    line-height: 50px;
    display: inline-block;
  }
  .userNav{
    float: right;
    margin-right: 40px;
    height:50px;
    line-height: 50px;
  }
}
.sidebar{
  position: fixed;
  top: 50px;
  left: 0px;
  bottom: 0px;
  width: 240px;
  border-right: 1px solid $color_d8d8;
  background-color: $color_f4f5;
  padding-top: 110px;
  padding-left: 36px;
  z-index: 1000;
  a{
    text-decoration: none;
  }
  a:hover{
    text-decoration: underline;
  }
}
.main-content{
  position: relative;
  left: 0px;
  top: 50px;
  right: 0px;
  padding-left: 305px;
  padding-right: 65px;
  padding-top: 55px;
  background-color: #eceef3;
}

/* widget */
.widget {
    margin: 0;
    padding: 0;
    min-width: 1080px;
    .widget-header {
      padding-bottom: 19px;
      margin-bottom: 25px;
      border-bottom: 1px solid $color_d8d8;
      font-size: 24px;
      color: #000;
    }
    .widget-name{
      display: inline-block;
      width: 130px;
      vertical-align: middle;
      p{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
}

/*table*/
.table{
  width: 100%;
  max-width: 100%;
  background-color: transparent;
  border-spacing: 0;
  border-collapse: collapse;
  margin-top: 45px;
  thead tr{
    background-color: $color_gray;
    border: 1px solid $color_d8d8;
    height: 50px;
    font-size: 16px;
    color: $color_4a4a;
    th{
      font-weight: normal;
    }
  }
  tbody tr{
    height: 90px;
    text-align: center;
    border: 1px solid $color_d8d8;
    td{
      border: 1px solid $color_d8d8;
    }
  }
  input{
    border-top: 0;
    border-right: 0;
  }
  input:focus{
    border: 1px solid #508ef2;
  }
}

.table-hover > tbody > tr:hover {
  background-color: $color_f6f6;
}
.table > tbody > tr {
  height: 40px
}
.table-90 > tbody > tr {
  height: 90px
}
.table-40 > tbody > tr {
  height: 40px
}
td{
  font-size: 14px;
  color: #4a4a4a;
  text-align: center;
  padding: 10px;
}
.td0 > tbody > tr,.td0 > tbody > tr > td{
  border:0;
}
.td0 td{
  padding:0;
}
.border-d8{
  border: 1px solid $color_d8d8 !important;
}

/*上传附件*/
 .default-upload-button{
  height: 20px;
  display: inline-block;
  width: 100px;
  position: relative;
  cursor: pointer;  
 }
#defualt_upload{
  position: absolute;
  top: 0;
  opacity: 0;
  left: 0;
  width: 100px;
  height: 20px;
}
#upload_file{
  position: absolute;
  top: 0;
  width: 160px;
  height: 42px;
  left: 0;
  bottom: 0;
  opacity: 0;
}